<%@ include file="/inc/header.jsp" %>
<script language="JavaScript1.2">
<!-- 
	function reloadAction()
	{
		document.NoteForm.action="<html:rewrite page="/updateNoteAction.do?submit=Rechercher"/>";
		document.NoteForm.submit.click();
	}
//-->
</script>

      <span class="titrePage">
         <bean:message key="entity.Note"/> : Rechercher
      </span>
      <br/>
      <br/>
         <common:errors/>
         <common:success/>
         
            <html:form action="/updateNoteAction" focus="idCategorie">
	        <table cellpadding="5" width="50%" cellspacing="0">
	            <%@ include file="notesform.jsp" %>
               <tr>
                  <td width="15%" align="right">
                     <span class="label">
                        <bean:message key="field.debutDateNote"/>
                     </span>
                  </td>
                  <td>
					<common:dateField formName="NoteForm" fieldName="dateNote" />
                  </td>
               </tr>
               <tr>
                  <td width="15%" align="right">
                     <span class="label">
                        <bean:message key="field.finDateNote"/>
                     </span>
                  </td>
                  <td>
					<common:dateField formName="NoteForm" fieldName="finDateNote"/>
                  </td>
               </tr>
            </table>

            <br/>
            <br/>
            <input value="<bean:message key="button.search"/>" type="submit" name="submit"/>
         </html:form>

      <p><span class="titrePage">
         <bean:message key="libelle.titreaddresultsearch"/>
      </span></p>
      <br/>

      <center>
         <display:table name="RESULTS_LIST" id="note"  pagesize="20" class="dtable" requestURI="/updateNoteAction.do?submit=Rechercher">
			<display:column property="id" class="id" titleKey="field.num" sortable="true" href="viewNote.do" paramId="id" paramProperty="id" />
			<display:column property="competence.categorie.nom" titleKey="field.categorie" sortable="true" />
			<display:column property="competence.matiere.nom" titleKey="field.matiere" sortable="true" />
			<display:column property="competence.nom" class="alignLeft" titleKey="field.competence" sortable="true" />
			<display:column class="alignLeft" titleKey="field.eleve" sortable="true">
				<bean:write name="note" property="eleve.nom" />&nbsp;<bean:write name="note" property="eleve.prenom" />
				&nbsp;(<bean:write name="note" property="eleve.classe" />)
			</display:column>
			<display:column property="note" titleKey="field.note" />
			<display:column property="dateNote" titleKey="field.dateNote" sortable="true" />
			<display:column property="commentaire" class="alignLeft" titleKey="field.commentaire" />
         </display:table>

      </center>
      <br/>
      <br/>
      <a href="javascript:history.back()">
         <bean:message key="libelle.retour"/>
      </a>
<%@ include file="/inc/footer.jsp" %>
